<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>two</title>
    <!--  -->
    <link rel="stylesheet" href="/assets/lib/layui/css/layui.css" />
    <!--  -->
    <link rel="stylesheet" href="/assets/css/user/user_pwd.css" />
  </head>
  <body>
    <!-- 面板-卡片面板 -->
    <div class="layui-card">
      <div class="layui-card-header">修改密码</div>
      <div class="layui-card-body">
        <!-- 用户信息修改form表单 -->
        <form class="layui-form" lay-filter="formUserInfo">
          <!-- 赋值id，写在form表单里面 -->
          <input type="hidden" name="id" />

          <!-- 原密码 -->
          <div class="layui-form-item">
            <label class="layui-form-label">原密码</label>
            <div class="layui-input-block">
              <!-- readonly类名  serialze() 可以获取值 -->
              <!-- disabled类名  serialze() 不可以获取值 -->
              <input type="text" name="lodPwd" required lay-verify="required|pwd" placeholder="请输入原密码" autocomplete="off" class="layui-input" />
            </div>
          </div>

          <!-- 新密码 -->
          <div class="layui-form-item">
            <label class="layui-form-label">新密码</label>
            <div class="layui-input-block">
              <input type="text" name="newPwd" required lay-verify="required|pwd|newPwd" placeholder="请输入新密码" autocomplete="off" class="layui-input" />
            </div>
          </div>

          <!-- 确认密码 -->
          <div class="layui-form-item">
            <label class="layui-form-label">确认密码</label>
            <div class="layui-input-block">
              <input type="text" name="rePwd" required lay-verify="required|pwd|rePwd" placeholder="请输入确认密码" autocomplete="off" class="layui-input" />
            </div>
          </div>

          <!-- 提交&重置 按钮 -->
          <div class="layui-form-item">
            <div class="layui-input-block">
              <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
              <button id="btnReset" type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
          </div>
        </form>
      </div>
    </div>
    <!--  -->
    <script src="/assets/lib/layui/layui.all.js"></script>
    <!--  -->
    <script src="/assets/lib/axios.js"></script>
    <!--  -->
    <script src="/assets/js/common.js"></script>
    <!--  -->
    <script src="/assets/lib/jquery.js"></script>
    <!--  -->
    <script src="/assets/js/user/user_pwd.js"></script>
  </body>
</html>
